.class public Lcom/teewoo/app/bus/util/VersionUtil$VersionInfo;
.super Ljava/lang/Object;
.source "VersionUtil.java"


# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
    value = Lcom/teewoo/app/bus/util/VersionUtil;
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x9
    name = "VersionInfo"
.end annotation


# instance fields
.field public action:Lcom/teewoo/app/bus/util/VersionUtil$UPDATE_ACTION;

.field public description:Ljava/lang/String;

.field public downloadUri:Ljava/lang/String;

.field public ver:Ljava/lang/String;


# direct methods
.method public constructor <init>(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V
    .locals 1
    .parameter "description"
    .parameter "downloadUri"
    .parameter "version"
    .parameter "action"

    .prologue
    const/4 v0, 0x0

    .line 37
    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    .line 32
    iput-object v0, p0, Lcom/teewoo/app/bus/util/VersionUtil$VersionInfo;->description:Ljava/lang/String;

    .line 33
    iput-object v0, p0, Lcom/teewoo/app/bus/util/VersionUtil$VersionInfo;->downloadUri:Ljava/lang/String;

    .line 34
    iput-object v0, p0, Lcom/teewoo/app/bus/util/VersionUtil$VersionInfo;->ver:Ljava/lang/String;

    .line 38
    iput-object p1, p0, Lcom/teewoo/app/bus/util/VersionUtil$VersionInfo;->description:Ljava/lang/String;

    .line 39
    iput-object p2, p0, Lcom/teewoo/app/bus/util/VersionUtil$VersionInfo;->downloadUri:Ljava/lang/String;

    .line 40
    iput-object p3, p0, Lcom/teewoo/app/bus/util/VersionUtil$VersionInfo;->ver:Ljava/lang/String;

    .line 41
    sget-object v0, Lcom/teewoo/app/bus/util/VersionUtil;->FORCE:Ljava/lang/String;

    invoke-virtual {v0, p4}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_0

    .line 42
    sget-object v0, Lcom/teewoo/app/bus/util/VersionUtil$UPDATE_ACTION;->FORCE:Lcom/teewoo/app/bus/util/VersionUtil$UPDATE_ACTION;

    iput-object v0, p0, Lcom/teewoo/app/bus/util/VersionUtil$VersionInfo;->action:Lcom/teewoo/app/bus/util/VersionUtil$UPDATE_ACTION;

    .line 49
    :goto_0
    return-void

    .line 43
    :cond_0
    sget-object v0, Lcom/teewoo/app/bus/util/VersionUtil;->MAJOR:Ljava/lang/String;

    invoke-virtual {v0, p4}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_1

    .line 44
    sget-object v0, Lcom/teewoo/app/bus/util/VersionUtil$UPDATE_ACTION;->MAJOR:Lcom/teewoo/app/bus/util/VersionUtil$UPDATE_ACTION;

    iput-object v0, p0, Lcom/teewoo/app/bus/util/VersionUtil$VersionInfo;->action:Lcom/teewoo/app/bus/util/VersionUtil$UPDATE_ACTION;

    goto :goto_0

    .line 45
    :cond_1
    sget-object v0, Lcom/teewoo/app/bus/util/VersionUtil;->MINOR:Ljava/lang/String;

    invoke-virtual {v0, p4}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_2

    .line 46
    sget-object v0, Lcom/teewoo/app/bus/util/VersionUtil$UPDATE_ACTION;->MINOR:Lcom/teewoo/app/bus/util/VersionUtil$UPDATE_ACTION;

    iput-object v0, p0, Lcom/teewoo/app/bus/util/VersionUtil$VersionInfo;->action:Lcom/teewoo/app/bus/util/VersionUtil$UPDATE_ACTION;

    goto :goto_0

    .line 48
    :cond_2
    sget-object v0, Lcom/teewoo/app/bus/util/VersionUtil$UPDATE_ACTION;->NONE:Lcom/teewoo/app/bus/util/VersionUtil$UPDATE_ACTION;

    iput-object v0, p0, Lcom/teewoo/app/bus/util/VersionUtil$VersionInfo;->action:Lcom/teewoo/app/bus/util/VersionUtil$UPDATE_ACTION;

    goto :goto_0
.end method
